package com.kt.common.clazz.enum1

/**
 * 匿名内部类
 */
enum class ProtocolState {

    WAITING {
        override fun signal() = TALKING
    },
    TALKING {
        override fun signal() = WAITING
    };

    abstract fun signal(): ProtocolState

}